.refund-list-wrapper {
  padding-bottom: $bottomDockHeight;
}

.section {
  border-bottom: 1px solid $colorConv;

  &.with-margin {
    padding-bottom: $margin;
  }
}

.small-title {
  font-size: $paragraph;
  font-family: $notoSerif;
  color: $colorDark;
  margin: 30px 0 15px 0;
}

.reason-input {
  background-color: $colorBeige;
  border-radius: 5px;

  .reason {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 15px;
    font-family: $notoSans;
    font-size: $paragraph;
    color: $colorGrey;

    &.selected {
      color: $colorDark;
    }
  }

  .down {
    @include size(10px, 5px);
  }
}

.additional-input {
  padding: 20px 15px;
  width: 315px;
  height: 93px;
  background-color: $colorBeige;
  border-radius: 5px;
  box-sizing: border-box;
}

.cart-items-listing {
  margin-top: 25px;
}

.cart-items-title {
  width: 80%;
  @include truncate();
}

.checkbox-grouping {
  display: flex;
  flex-direction: column;
  justify-content: center;

  checkbox {
    @include size(15px, 15px);
    padding-right: 20px;
    // Visibility hidden does not generate change events
    opacity: 0;

    &.smaller-padding {
      padding-right: 12px;
    }
  }

  .unavailable-spacing {
    padding-right: 35px;
  }

  .checkbox-group {
    position: relative;
  }

  .checkbox-bg,
  .checkbox-active {
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
  }

  .checkbox-bg {
    @include size(16px, 16px);
    border: 1px solid $colorGrey;
  }

  .checkbox-active {
    @include size(10px, 10px);
    background-color: $colorDark;
  }
}

.cart-item-container {
  display: flex;
  padding: 20px 0;

  border-top: 1px solid $colorBeige;

  &:last-of-type {
    border-bottom: 1px solid $colorBeige;
  }
}

.content-container {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-left: $margin;

  .top-content-container {
    .name {
      @include truncate;
      font-size: $paragraph;
      font-family: $notoSerif;
      color: $colorDark;
      margin: 5px 0;
    }
  }

  .quantity-selector {
    display: flex;

    &-number,
    &-adjustment {
      border: 1px solid $colorLightGrey;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    &-number {
      @include size(30px, 20px);
      font-size: 10px;
      line-height: 1;
    }
    &-adjustment {
      @include size(20px, 20px);

      &.left {
        border-right: none;
      }
      &.right {
        border-left: none;
      }
    }

    .minus-icon {
      @include size(9px, 1px);
    }
    .plus-icon {
      @include size(9px, 9px);
    }
  }

  .price {
    font-family: $notoSerif;
  }

  $icon-clickable-padding: 10px;
  .delete-icon,
  .arrow-icon {
    position: absolute;
    right: -$icon-clickable-padding;
    padding: $icon-clickable-padding;
  }

  .delete-icon {
    @include size(12px, 16px);
    top: -$icon-clickable-padding + 2px; // Small adjustment for alignment
  }

  .arrow-icon {
    @include size(15px, 12px);
    bottom: -$icon-clickable-padding + 2px; // Small adjustment for alignment
  }
}

.inline-text-link {
  display: inline;
  text-decoration: underline;
}

.cost-summary {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;

  .terms-container {
    flex: 1;
    display: flex;
  }

  .price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    .price-view {
      margin-top: 5px;
      margin-bottom: 0;
    }
  }
}

.toc-wrapper {
  padding-bottom: $bottomDockHeight + 20px;
}

.bottom-dock-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}
